<template>
  <el-container>
    <el-header>
      <el-page-header @back="goBack"> </el-page-header>
    </el-header>
    <el-main>
      <el-tabs type="border-card">
        <el-tab-pane label="基本信息">
          <edit-basic-info></edit-basic-info>
        </el-tab-pane>
        <el-tab-pane label="联系方式">
          <edit-contact-info></edit-contact-info>
        </el-tab-pane>
      </el-tabs>
    </el-main>
  </el-container>
</template>

<script>
import EditBasicInfo from "./EditBasicInfo.vue";
import EditContactInfo from "./EditContactInfo.vue";
export default {
  components: { EditBasicInfo, EditContactInfo },
  methods: {
    goBack() {
      this.$router.replace("/basicInfo");
    },
  },
};
</script>

<style scoped>
.el-container .el-header {
  height: 30px !important;
}
.el-container .el-main {
  padding: 4px !important;
}
</style>